import {Header,Home,News,Cart,Product,User,detail,Register,Login,Newsdetail} from '../Components'
export const routes=[
    {
        path:'/',
        component:Home,
        exact:true
    },
    {
        path:'/news',
        component:News,      
    },
    {
        path:'/user',
        component:User,      
    },
    {
        path:'/product',
        component:Product,      
    },
    {
        path:'/cart',
        component:Cart,      
    },
    {
        path:'/detail/:id/:page/:title',
        component:detail,      
    },
    {
        path:'/register',
        component:Register,      
    },
    {
        path:'/login',
        component:Login,      
    },
    {
        path:'/newsdetail/:id',
        component:Newsdetail,      
    }

]